package com.tutorial.bootdemo.dto;

import com.tutorial.bootdemo.enums.Gender;
import lombok.*;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentDTO {

    @Setter
    private long id;

    @Setter
    @Getter
    private String name;

    @Setter
    @Getter
    private String email;

    @Getter
    @Setter
    private Gender gender;

    private int minAge;

    private int maxAge;

}
